package com.ktjy.mapper;

import com.ktjy.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author:雷淑娥
 * @Date:2024/11/28 10:52
 * version:1.0
 */
public interface StorageRecordMapper {
    /**
     * 根据商品名称，供货商ID，支付状态查询
     * @return
     */
    public List<StorageRecord> getStorageList(@Param("goodsName") String goodsName,
                                              @Param("supplierId") Integer supplierId,
                                              @Param("payStatus") Integer payStatus);

    /**
     * 添加入库记录
     * @param record
     * @return
     */
    public int add(StorageRecord record);

}
